package cn.edu.scau.cmi.crawler.dao;

import java.util.Set;

import org.springframework.dao.DataAccessException;
import java.util.List;
import java.util.Set;

import cn.edu.scau.cmi.ema.dao.JpaDao;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;
import java.math.BigDecimal;
import java.util.Calendar;

public interface ScauCmiCrawlerdetectDAO extends JpaDao<Crawlerdetect> {

	Set<Crawlerfile> findExcelByIsinsertcrawlereventOrdetectable(String object);

	Set<Crawlerfile> findDetectCrawlerfileByFiletypeAndImportdetectstatus(Integer filetypeId, Integer filestatustypeId, int startResult,	int maxRows) ;
	
	Set<Crawlerfile> findDetectCrawlerfileByFiletypeAndImporteventstatus(Integer filetypeId, String importrelationstatus, int startResult,	int maxRows) ;
	
	Set<Crawlerfile> findDetectCrawlerfileByNullExistStatus(int startResult,	int maxRows) ;

	Set<Crawlerfile> findCrawlerfileByFiletypeExistCrawlerfilestatus(int i, boolean b, int j, int startResult, int maxRows);

//	Set<Crawlerdetect> findCrawlerdetect4BatchImportDetects();


	
}
